﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Macro_stone.PoModel
{
    /// <summary>
    /// 客户录入基本信息
    /// </summary>
    [Table("Customer")]
    public class CustomerPo
    {
        /// <summary>
        /// 客户主键 
        /// </summary>
        [Key]
        public int customerId { get; set; }
        /// <summary>
        /// 客户简称  
        /// </summary>
        public string customerReferred { get; set; }
        /// <summary>
        /// 客户名称  
        /// </summary>
        public string customerName { get; set; }
        /// <summary>
        /// 公司地址  
        /// </summary>
        public string companyAddress { get; set; }
        /// <summary>
        /// 邮政编码  
        /// </summary>
        public string postalCode { get; set; }
        /// <summary>
        /// 联系人  
        /// </summary>
        public string linkman { get; set; }
        /// <summary>
        /// 公司电话  
        /// </summary>
        public string comparyTel { get; set; }
        /// <summary>
        /// 传真号  
        /// </summary>
        public string faxNumber { get; set; }
        /// <summary>
        /// 客户编号  
        /// </summary>
        public string dustomerSerialNum { get; set; }
        /// <summary>
        /// 录入时间
        /// </summary>
        public DateTime createTime { get; set; }
        /// <summary>
        /// 录入人 
        /// </summary>
        public string createName { get; set; }
        /// <summary>
        /// 客户英文名  
        /// </summary>
        public string englishName { get; set; }
        /// <summary>
        /// 是否合作  
        /// </summary>
        public int cooperation { get; set; }
        /// <summary>
        /// 所在国家  
        /// </summary>
        public int countryId { get; set; }
        /// <summary>
        /// 所在省份  
        /// </summary>
        public int provinceId { get; set; }
        /// <summary>
        /// 所在城市  
        /// </summary>
        public int cityId { get; set; }
        /// <summary>
        /// 客户类型  
        /// </summary>
        public int typeId { get; set; }
        /// <summary>
        /// 行业ID  
        /// </summary>
        public int industryId { get; set; }
        /// <summary>
        /// 分支机构  
        /// </summary>
        public string embranchment { get; set; }
        /// <summary>
        /// Email  
        /// </summary>
        public string email { get; set; }
        /// <summary>
        /// 公司主业  
        /// </summary>
        public string homePage { get; set; }
        /// <summary>
        /// 关系建立时间  
        /// </summary>
        public DateTime relationTime { get; set; }
        /// <summary>
        /// 关系部门  
        /// </summary>
        public string relationDepartment { get; set; }
        /// <summary>
        /// 信用级别  
        /// </summary>
        public int creditRatingsId { get; set; }
        /// <summary>
        /// 亲密度  
        /// </summary>
        public int intimacyId { get; set; }
        /// <summary>
        /// 开户银行名称 
        /// </summary>
        public string bankName { get; set; }
        /// <summary>
        /// 开户银行账号  
        /// </summary>
        public string bankAccount { get; set; }
        /// <summary>
        /// 企业代码 
        /// </summary>
        public string enterpriseCode { get; set; }
        /// <summary>
        /// 法定代表  
        /// </summary>
        public string member { get; set; }
        /// <summary>
        /// 纳税人识别号  
        /// </summary>
        public string taxpayerCode { get; set; }
        /// <summary>
        /// 备注  
        /// </summary>
        public string remark { get; set; }
        /// <summary>
        /// 甲方负责人【序号】 
        /// </summary>
        public string jiafuId { get; set; }

    }
}
